package top.hyz.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName CourseServerApplication
 * @Description 课程服务启动类
 * @Author 韩雨泽
 * @Date 2021/1/19-0:42
 * @Version 1.0
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCaching
@MapperScan(basePackages = "top.hyz.hrm.mapper")
@EnableFeignClients(basePackages = "top.hyz.hrm")
public class CourseServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CourseServerApplication.class);
    }
}
